
<div class="list-group product-list">
    <div class="list-group-item product-detail">
	<div class="blog-view-detail">
                    <a class="group1" href='<?php echo ($this->webroot.'img/uploads/'.$blog["Blog"]["image"]);?>' title='<?php echo $blog["Blog"]["image"];?>'>
                            <?php 
                                $image = $blog["Blog"]["image"];
                                if($image){
                                   echo $this->Html->image('uploads/'.$image, array('width' => '275px','alt'=>$blog["Blog"]["image"],''));
                                }

                            ?>
                    </a>
                    <h3><?php echo $blog['Blog']['title']; ?></h3>
                    <div>
                         <?php if($blog['User']['username']) {echo '<span id="auth">'.$blog['User']['username'].'</span>';} ?>
                        <span id="modified_date"> posted date: <?php echo $blog['Blog']['posted_date'];?></span>
                        <div id="addthis">
                            <!-- AddThis Button BEGIN -->
                            <div class="addthis_toolbox addthis_default_style ">
                                <a class="addthis_button_preferred_1"></a>
                                <a class="addthis_button_preferred_2"></a>
                                <a class="addthis_button_preferred_3"></a>
                                <a class="addthis_button_preferred_4"></a>
                                <a class="addthis_button_compact"></a>
                                <a class="addthis_counter addthis_bubble_style"></a>
                            </div>
                            <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
                            <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-52ccf4bd65cf2575"></script>
                            <!-- AddThis Button END -->
                        </div>
                        <div class="dec">
                            <?php echo $blog['Blog']['article'];
                            ?>
                        </div>
                    </div>
            </div>
        <div class="clearfix"></div>
        </div>
</div>

